<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="assets/css/index.css">
</head>

<body>
    <div class="cover">
        <div class="container">
            <div class="course-tab J_CourseTab">
                <ul class="course-item-list clearfix">
                   
                </ul>
                <script type="text/html" id="tabItemTpl">
                    <li class="course-item">
                        <a class="{{styleClass}}" href="javascript:;" data-field="{{field}}">{{fieldName}}</a>
                    </li>
                </script>
            </div>
            <div class="list-wrapper">
                <ul class="course-card-list clearfix">
                   
                </ul>
                <script type="text/html" id="cardTpl">
                    <li class="card-item">
                        <a href="javascript:;" class="card-lk">
                            <img
                                src="{{img}}" alt="{{courseName}}">
                                <div class="course-item-status">随学</div>
                        
                            </a>
                        <p class="course-item-desc">{{courseName}}</p>
                        <span class="course-item-price">{{price}}</span>
                    </li>
                </script>
            </div>
        </div>
    </div>
    <div id="courseData" style="display:none">
        [
        {
        "id": "428545",
        "course_name": "Web前端",
        "price": "1250",
        "img":"https://static.paixin.com/paixin-home/static/img/2t4qgvwrg45wt54q3gfrefgvw45ygfvbwt5y.d9d53b4.png",
        "field": "0",
        "status": "1"

        },{
        "id": "438545",
        "course_name": "JAVA",
        "price": "1250",
        "img":"https://static.paixin.com/paixin-home/static/img/2t4qgvwrg45wt54q3gfrefgvw45ygfvbwt5y.d9d53b4.png",
        "field": "1",
        "status": "1"
        },{
        "id": "448545",
        "course_name": "HTML",
        "price": "1250",
        "img":"https://static.paixin.com/paixin-home/static/img/2t4qgvwrg45wt54q3gfrefgvw45ygfvbwt5y.d9d53b4.png",
        "field": "2",
        "status": "1"
        },{
        "id": "25467",
        "course_name": "CSS",
        "price": "1250",
        "img":"https://static.paixin.com/paixin-home/static/img/2t4qgvwrg45wt54q3gfrefgvw45ygfvbwt5y.d9d53b4.png",
        "field": "3",
        "status": "1"
        },{
        "id": "32546",
        "course_name": "NODE",
        "price": "1250",
        "img":"https://static.paixin.com/paixin-home/static/img/2t4qgvwrg45wt54q3gfrefgvw45ygfvbwt5y.d9d53b4.png",
        "field": "4",
        "status": "1"
        },{
        "id": "15468",
        "course_name": "NODE",
        "price": "1250",
        "img":"https://static.paixin.com/paixin-home/static/img/2t4qgvwrg45wt54q3gfrefgvw45ygfvbwt5y.d9d53b4.png",
        "field": "0",
        "status": "1"
        },{
        "id": "33654",
        "course_name": "NODE",
        "price": "2245",
        "img":"https://static.paixin.com/paixin-home/static/img/2t4qgvwrg45wt54q3gfrefgvw45ygfvbwt5y.d9d53b4.png",
        "field": "0",
        "status": "1"
        }
        ]
    </div>
    <div id="courseFieldData" style="display:none;">
        [
        {
        "field": "0",
        "field_name": "速成课"
        },{
        "field": "1",
        "field_name": "精品课"
        },{
        "field": "2",
        "field_name": "前端基础"
        },{
        "field": "3",
        "field_name": "全栈修炼"
        }
        ]
    </div>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script type="text/javascript" src="utils/tools.js"></script>
    <script type="text/javascript" src="assets/js/modules.js"></script>
    <script type="text/javascript" src="assets/js/index.js"></script>
</body>

</html>